.class public Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;
.super Lcom/hierynomus/smbj/smb2/d;
.source "SMB2QueryInfoRequest.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;
    }
.end annotation


# instance fields
.field c:J

.field private final d:Lcom/hierynomus/smbj/smb2/a;

.field private final e:Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;

.field private final f:Lcom/hierynomus/msfscc/FileInformationClass;

.field private final g:Lcom/hierynomus/msfscc/FileSysemInformationClass;

.field private final h:[B

.field private final i:Ljava/util/EnumSet;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/msdtyp/SecurityInformation;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lcom/hierynomus/smbj/smb2/SMB2Dialect;JJLcom/hierynomus/smbj/smb2/a;Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;Lcom/hierynomus/msfscc/FileInformationClass;Lcom/hierynomus/msfscc/FileSysemInformationClass;[BLjava/util/EnumSet;)V
    .locals 9
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/hierynomus/smbj/smb2/SMB2Dialect;",
            "JJ",
            "Lcom/hierynomus/smbj/smb2/a;",
            "Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;",
            "Lcom/hierynomus/msfscc/FileInformationClass;",
            "Lcom/hierynomus/msfscc/FileSysemInformationClass;",
            "[B",
            "Ljava/util/EnumSet<",
            "Lcom/hierynomus/msdtyp/SecurityInformation;",
            ">;)V"
        }
    .end annotation

    move-object v8, p0

    .line 1
    sget-object v3, Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;->SMB2_QUERY_INFO:Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;

    const/16 v1, 0x29

    move-object v0, p0

    move-object v2, p1

    move-wide v4, p2

    move-wide v6, p4

    invoke-direct/range {v0 .. v7}, Lcom/hierynomus/smbj/smb2/d;-><init>(ILcom/hierynomus/smbj/smb2/SMB2Dialect;Lcom/hierynomus/smbj/smb2/SMB2MessageCommandCode;JJ)V

    const-wide/32 v0, 0x10000

    .line 2
    iput-wide v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->c:J

    move-object/from16 v0, p7

    .line 3
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->e:Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;

    move-object/from16 v0, p8

    .line 4
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->f:Lcom/hierynomus/msfscc/FileInformationClass;

    move-object/from16 v0, p9

    .line 5
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->g:Lcom/hierynomus/msfscc/FileSysemInformationClass;

    move-object/from16 v0, p10

    .line 6
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->h:[B

    move-object/from16 v0, p11

    .line 7
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->i:Ljava/util/EnumSet;

    move-object v0, p6

    .line 8
    iput-object v0, v8, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->d:Lcom/hierynomus/smbj/smb2/a;

    return-void
.end method


# virtual methods
.method protected d(Lcom/hierynomus/smbj/common/b;)V
    .locals 6

    .line 1
    iget v0, p0, Lcom/hierynomus/smbj/smb2/d;->b:I

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 2
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->e:Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;

    invoke-virtual {v0}, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;->getValue()J

    move-result-wide v0

    long-to-int v1, v0

    int-to-byte v0, v1

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 3
    sget-object v0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$a;->a:[I

    iget-object v1, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->e:Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest$SMB2QueryInfoType;

    invoke-virtual {v1}, Ljava/lang/Enum;->ordinal()I

    move-result v1

    aget v0, v0, v1

    const/4 v1, 0x1

    const/4 v2, 0x0

    const-wide/16 v3, 0x0

    const/16 v5, 0x68

    if-eq v0, v1, :cond_3

    const/4 v1, 0x2

    if-eq v0, v1, :cond_2

    const/4 v1, 0x3

    if-eq v0, v1, :cond_1

    const/4 v1, 0x4

    if-eq v0, v1, :cond_0

    goto/16 :goto_1

    .line 4
    :cond_0
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 5
    iget-wide v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->c:J

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 6
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 7
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->m()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 8
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->h:[B

    array-length v0, v0

    int-to-long v0, v0

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 9
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 10
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 11
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->d:Lcom/hierynomus/smbj/smb2/a;

    invoke-virtual {v0, p1}, Lcom/hierynomus/smbj/smb2/a;->a(Lcom/hierynomus/smbj/common/b;)V

    const/16 v2, 0x68

    goto/16 :goto_1

    .line 12
    :cond_1
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 13
    iget-wide v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->c:J

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 14
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 15
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->m()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 16
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 17
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->i:Ljava/util/EnumSet;

    invoke-static {v0}, Les/ed0$a;->a(Ljava/util/Collection;)J

    move-result-wide v0

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 18
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 19
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->d:Lcom/hierynomus/smbj/smb2/a;

    invoke-virtual {v0, p1}, Lcom/hierynomus/smbj/smb2/a;->a(Lcom/hierynomus/smbj/common/b;)V

    goto :goto_1

    .line 20
    :cond_2
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->g:Lcom/hierynomus/msfscc/FileSysemInformationClass;

    invoke-virtual {v0}, Lcom/hierynomus/msfscc/FileSysemInformationClass;->getValue()J

    move-result-wide v0

    long-to-int v1, v0

    int-to-byte v0, v1

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 21
    iget-wide v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->c:J

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 22
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 23
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->m()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 24
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 25
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 26
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 27
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->d:Lcom/hierynomus/smbj/smb2/a;

    invoke-virtual {v0, p1}, Lcom/hierynomus/smbj/smb2/a;->a(Lcom/hierynomus/smbj/common/b;)V

    goto :goto_1

    .line 28
    :cond_3
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->f:Lcom/hierynomus/msfscc/FileInformationClass;

    invoke-virtual {v0}, Lcom/hierynomus/msfscc/FileInformationClass;->getValue()J

    move-result-wide v0

    long-to-int v1, v0

    int-to-byte v0, v1

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 29
    iget-wide v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->c:J

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 30
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->f:Lcom/hierynomus/msfscc/FileInformationClass;

    sget-object v1, Lcom/hierynomus/msfscc/FileInformationClass;->FileFullEaInformation:Lcom/hierynomus/msfscc/FileInformationClass;

    if-ne v0, v1, :cond_4

    .line 31
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 32
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->m()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 33
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->h:[B

    array-length v0, v0

    int-to-long v0, v0

    invoke-virtual {p1, v0, v1}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/16 v2, 0x68

    goto :goto_0

    .line 34
    :cond_4
    invoke-virtual {p1, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 35
    invoke-virtual {p1}, Lcom/hierynomus/smbj/common/b;->m()Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 36
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 37
    :goto_0
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 38
    invoke-virtual {p1, v3, v4}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 39
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->d:Lcom/hierynomus/smbj/smb2/a;

    invoke-virtual {v0, p1}, Lcom/hierynomus/smbj/smb2/a;->a(Lcom/hierynomus/smbj/common/b;)V

    :goto_1
    if-lez v2, :cond_5

    .line 40
    iget-object v0, p0, Lcom/hierynomus/smbj/smb2/messages/SMB2QueryInfoRequest;->h:[B

    invoke-virtual {p1, v0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a([B)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    :cond_5
    return-void
.end method
